﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AiXiu.BLL;
using AiXiu.IBLL;
using AiXiu.Common;
using AiXiu.Model;
using AiXiu.Model.Vod;

namespace AiXiu.WebSite
{
    public partial class MyVideo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                IVideoBLL videoBLL = new VideoBLL();
                List<MyVideoModel> videos = videoBLL.GetTBVideosByUserId(IdentityManager.ReadUser().Id);
                rptVideos.DataSource = videos;
                rptVideos.DataBind();
            }
        }
    }
}